/**
 * 
 */
package com.beamfield.modelVo;

import com.beamfield.common.DateSwitcher;
import com.beamfield.model.EmbedInbound;

/**
 * @author mintonzhang@163.com
 * @date 2018年6月15日
 */
public class EmbedInboundVo  extends EmbedInbound{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2181961286778731031L;

	private String qrcode_address;
	
	private String add_time_str;


	public String getQrcode_address() {
		return qrcode_address;
	}

	public void setQrcode_address(String qrcode_address) {
		this.qrcode_address = qrcode_address;
	}

	public String getAdd_time_str() {
		return add_time_str;
	}

	public void setAdd_time_str(String add_time_str) {
		this.add_time_str = add_time_str;
	}
	
	public EmbedInboundVo(EmbedInbound embedInbound) {
		setAdd_time_str(DateSwitcher.date2String(embedInbound.getAddtime(),"yyyy-MM-dd"));
		super.setAddtime(embedInbound.getAddtime());
		super.setBeam_id(embedInbound.getBeam_id());
		super.setEmbed_inbound_id(embedInbound.getEmbed_inbound_id());
		super.setInbound_id(embedInbound.getInbound_id());
		super.setOperator(embedInbound.getOperator());
		super.setQrcode(embedInbound.getQrcode());
		super.setState(embedInbound.getState());
		super.setUpdater(embedInbound.getUpdater());
		super.setUpdatetime(embedInbound.getUpdatetime());
	}
	
	
}
